import authRequest from 'supports/requests/authRequest'

export function buyVip() {
    return authRequest('vip/purchases/buy', { method: 'post' })
}

export function vipCategory() {
    return authRequest('vip/categories', { method: 'get' })
}


export function vipWelfare(id) {
    return authRequest('vip/categories/'+id+'/welfares', { method: 'get' })
}

export function createVip(data) {
  return authRequest('vip/purchases/buy', { method: 'post', data: data })
}
